home *** CD-ROM | disk | FTP | other *** search
- #include <exec/exec.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include "acs.h"
- #define QUERYBIT 1002
- void LastCommand(void);
- void end(void);
- #define sm sendmessage
- main(int argc,char *argv[])
- {
- register int i;
- char temp[200];
- Register(argv[1][0]-'0');
- i=0;
- while(i<46)
- {
- if(AcsStat(i,QUERYBIT))
- {
- sprintf(temp,"[ENABLED ] %s",AE_ACS[i]);
- }
- else
- sprintf(temp,"[DISABLED] %s",AE_ACS[i]);
- sm(temp,1);
- i++;
- }
- ShutDown();
- end();
-
- }
-
- void LastCommand(void)
- {
- }
- void end(void)
- {
- exit(0);
- }